*{margin: 0; padding: 0;}
body{background-color: #101010; position: relative;}
#pad{margin-left: 20%; margin-top: 10%; float: left;}
#pad div{float: left;}
#pad div p{margin: 20% 30%;}

/* 难度设置层 */

#ini_frame{position: absolute; z-index: 2;/* background-color: red; */ margin-top: 8%; margin-left: 20%;width: 60%; height:350px;/*  border: red; */ }
#ini_frame em{font-size: 80px; margin-top: 30%; margin-left: 14%; color: #FF9900; font-weight: border; font-weight: bolder;}
#ini_frame div{margin-left: 10%;margin-top: 50%; background-color: #FF9900; width: 80%; height: 10%; border: solid #FF9900; border-radius: 20px; text-align: center;}
#ini_frame div label{margin-right: 20px;margin-top: 8px; margin-left: 20px;}

#set_but{border: solid #101010; border-radius: 15px; width: 45px; height: 30px; background-color:#101010; color: #828282; font-size: 20px;margin-top: 4px;}
#set_but:hover{color: #FFFFFF; }

/* 游戏层 */

/* 游戏控制块_游戏层 */
#ctrl{width: 150px; height: 200px; background-color: #101010; float: right; margin-top: 14%; margin-right: 24%; border: solid #FF9900; border-radius: 25px;}
/* 时钟_游戏控制块_游戏层 */
#clock{width: 100%; height: 70px; background-color: #828282; margin-top: 18%; margin-left: 0; color: red; font-size: 50px; text-align: center; font-weight: bold;}
/* 退出_游戏控制块_游戏层 */
.but{width: 70px; height: 40px; background-color: #FF9900; border: solid #FF9900; border-radius: 15px; color: #101010;font-size: 20px; transition: 1s; }
#back{margin-top: 24%; margin-left: 27%;}
#back:hover{background-color: #101010; color: #DCDCDC; transition: 1s;}
/* 砖块_扫雷块_游戏层 */
.block_unvis{width: 35px;height: 35px;background-color: #DCDCDC;border: outset;}
.block_vis{background-color: #E9E9E9; border: inset; font-weight: bold;}
.block_vis_1{color: blue;} .block_vis_2{color: green;} .block_vis_3{color: darkred;} .block_vis_4{color: orange;} .block_vis_5{color: purple;} .block_vis_6{color: skyblue;} .block_vis_7{color: yellow;} .block_vis_8{color: black;}

/* 提示层 */

#prompt_level{width: 100%; height: 100%; background-color: white; position: absolute; display: none;}
#prompt_level div{width: 320px; height: 110px; background-color: #FF9900; border-radius: 20px; margin: 15% auto; overflow: hidden;}
#prompt_level div button{ width: 350px; height: 35px; background-color: #101010; border: solid #101010; color: #FFFFFF; margin-top: 75px; margin-left: -10px;}
#prompt_level div p{position: absolute; margin-left: 30px; margin-top: 20px;}
